import pandas as pd fec = pd.read_csv('P00000001-ALL.csv',nrows=10,index_col=None)
data.to_csv('geocodes_deduped.csv', index=False)